@ThreadSafe public class AlluxioException extends Exception
AlluxioException
used throughout the system. It must be able serialize itself to
the RPC framework and convert back without losing any necessary information.Modifier | Constructor and Description |
---|---|
protected |
AlluxioException(AlluxioTException te)
Constructs a
AlluxioException with an exception type from a AlluxioTException . |
|
AlluxioException(String message)
Constructs an
AlluxioException with the given message. |
|
AlluxioException(String message,
Throwable cause)
Constructs an
AlluxioException with the given message and cause. |
protected |
AlluxioException(Throwable cause)
Constructs an
AlluxioException with the given cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected AlluxioException(AlluxioTException te)
AlluxioException
with an exception type from a AlluxioTException
.te
- the type of the exceptionprotected AlluxioException(Throwable cause)
AlluxioException
with the given cause.cause
- the causepublic AlluxioException(String message)
AlluxioException
with the given message.message
- the messagepublic AlluxioException(String message, Throwable cause)
AlluxioException
with the given message and cause.message
- the messagecause
- the causeCopyright © 2023. All Rights Reserved.