Class CloneFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.lang.exception.NestableRuntimeException
-
- org.apache.commons.lang.exception.CloneFailedException
-
- All Implemented Interfaces:
java.io.Serializable
,Nestable
@Deprecated(since="2021-04-30") public class CloneFailedException extends NestableRuntimeException
Deprecated.Commons Lang 2 is in maintenance mode. Commons Lang 3 should be used instead.Exception thrown when a clone cannot be created. In contrast toCloneNotSupportedException
this is aRuntimeException
.- Since:
- 2.6
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CloneFailedException(java.lang.String message)
Deprecated.Constructs a CloneFailedException.CloneFailedException(java.lang.String message, java.lang.Throwable cause)
Deprecated.Constructs a CloneFailedException.CloneFailedException(java.lang.Throwable cause)
Deprecated.Constructs a CloneFailedException.
-
Method Summary
-
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
-
-
-
-
Constructor Detail
-
CloneFailedException
public CloneFailedException(java.lang.String message)
Deprecated.Constructs a CloneFailedException.- Parameters:
message
- description of the exception- Since:
- upcoming
-
CloneFailedException
public CloneFailedException(java.lang.Throwable cause)
Deprecated.Constructs a CloneFailedException.- Parameters:
cause
- cause of the exception- Since:
- upcoming
-
CloneFailedException
public CloneFailedException(java.lang.String message, java.lang.Throwable cause)
Deprecated.Constructs a CloneFailedException.- Parameters:
message
- description of the exceptioncause
- cause of the exception- Since:
- upcoming
-
-