Class CloneFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.lang3.exception.CloneFailedException
-
- All Implemented Interfaces:
Serializable
public class CloneFailedException extends RuntimeException
Exception thrown when a clone cannot be created. In contrast toCloneNotSupportedException
this is aRuntimeException
.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CloneFailedException(String message)
Constructs a CloneFailedException.CloneFailedException(String message, Throwable cause)
Constructs a CloneFailedException.CloneFailedException(Throwable cause)
Constructs a CloneFailedException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CloneFailedException
public CloneFailedException(String message)
Constructs a CloneFailedException.- Parameters:
message
- description of the exception
-
CloneFailedException
public CloneFailedException(Throwable cause)
Constructs a CloneFailedException.- Parameters:
cause
- cause of the exception
-
-