|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.mcdermottroe.exemplar.Exception
com.mcdermottroe.exemplar.CopyException
public class CopyException
An exception that can be thrown in response to any error which occurs while
calling an implementation of Copyable.getCopy().
| Constructor Summary | |
|---|---|
CopyException()
CopyException without a description. |
|
CopyException(String message)
CopyException with a description. |
|
CopyException(String message,
Throwable cause)
CopyException with a description and a reference to an exception which caused it. |
|
CopyException(Throwable cause)
CopyException with a reference to the exception that caused it. |
|
| Method Summary | |
|---|---|
CopyException |
getCopy()
Creates a deep copy of the current object and returns it. |
| Methods inherited from class com.mcdermottroe.exemplar.Exception |
|---|
compareTo, copyStackTrace, equals, getBackTrace, hashCode, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CopyException()
public CopyException(String message)
message - The description of the exception.
public CopyException(String message,
Throwable cause)
message - The description of the exception.cause - The cause of the exception.public CopyException(Throwable cause)
cause - The cause of the exception.| Method Detail |
|---|
public CopyException getCopy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||