Package org.apache.commons.collections
Class FunctorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.collections.FunctorException
- All Implemented Interfaces:
Serializable
Deprecated.
Apache Commons Collections version 3.x is being deprecated from AEMaaCS. The upgraded version 4.4 of Commons Collections is already included as replacement. Customers are advised to upgrade to this version of the library. Please note: the package name was changed to org.apache.commons.collections4. Further note that there are AEM APIs currently exposing the old collections classes; these will be updated in upcoming releases.
Runtime exception thrown from functors.
If required, a root cause error can be wrapped within this one.
- Since:
- Commons Collections 3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a newFunctorExceptionwithout specified detail message.FunctorException(String msg) Deprecated.Constructs a newFunctorExceptionwith specified detail message.FunctorException(String msg, Throwable rootCause) Deprecated.Constructs a newFunctorExceptionwith specified detail message and nestedThrowableroot cause.FunctorException(Throwable rootCause) Deprecated.Constructs a newFunctorExceptionwith specified nestedThrowableroot cause. -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Deprecated.Gets the cause of this throwable.voidDeprecated.Prints the stack trace of this exception to the standard error stream.voidDeprecated.Prints the stack trace of this exception to the specified stream.voidDeprecated.Prints the stack trace of this exception to the specified writer.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
FunctorException
public FunctorException()Deprecated.Constructs a newFunctorExceptionwithout specified detail message. -
FunctorException
Deprecated.Constructs a newFunctorExceptionwith specified detail message.- Parameters:
msg- the error message.
-
FunctorException
Deprecated.Constructs a newFunctorExceptionwith specified nestedThrowableroot cause.- Parameters:
rootCause- the exception or error that caused this exception to be thrown.
-
FunctorException
Deprecated.Constructs a newFunctorExceptionwith specified detail message and nestedThrowableroot cause.- Parameters:
msg- the error message.rootCause- the exception or error that caused this exception to be thrown.
-
-
Method Details
-
getCause
Deprecated.Gets the cause of this throwable. -
printStackTrace
public void printStackTrace()Deprecated.Prints the stack trace of this exception to the standard error stream.- Overrides:
printStackTracein classThrowable
-
printStackTrace
Deprecated.Prints the stack trace of this exception to the specified stream.- Overrides:
printStackTracein classThrowable- Parameters:
out- thePrintStreamto use for output
-
printStackTrace
Deprecated.Prints the stack trace of this exception to the specified writer.- Overrides:
printStackTracein classThrowable- Parameters:
out- thePrintWriterto use for output
-