Class ProtoWrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inductiveautomation.ignition.common.rpc.proto.ProtoWrappedException
- All Implemented Interfaces:
IExceptionFacade
,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProtoWrappedException
(String exceptionClassName, String message, List<Error.StackTrace> protoStacktrace, int errorCode) -
Method Summary
Modifier and TypeMethodDescriptionint
The original classname of the exception type.boolean
Whether or not the original type overrode Throwable.toString()Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtoWrappedException
public ProtoWrappedException(String exceptionClassName, String message, List<Error.StackTrace> protoStacktrace, int errorCode)
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-
getErrorCode
public int getErrorCode() -
getOriginalClassname
Description copied from interface:IExceptionFacade
The original classname of the exception type.- Specified by:
getOriginalClassname
in interfaceIExceptionFacade
-
originalTypeOverridesToString
public boolean originalTypeOverridesToString()Description copied from interface:IExceptionFacade
Whether or not the original type overrode Throwable.toString()- Specified by:
originalTypeOverridesToString
in interfaceIExceptionFacade
-