Class GenericTransferrableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inductiveautomation.ignition.common.GenericTransferrableException
- All Implemented Interfaces:
IExceptionFacade,Serializable
This is a general exception that can be used to transfer error information across RPC. It wraps everything up into
generic types that will exist on both sides of the boundary, getting around serialization issues caused by custom
exceptions.
Use the static create() function to build.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFrom(Throwable source) The original classname of the exception type.booleanWhether or not the original type overrode Throwable.toString()toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
GenericTransferrableException
-
-
Method Details
-
createFrom
-
toString
-
getOriginalClassname
Description copied from interface:IExceptionFacadeThe original classname of the exception type.- Specified by:
getOriginalClassnamein interfaceIExceptionFacade
-
originalTypeOverridesToString
public boolean originalTypeOverridesToString()Description copied from interface:IExceptionFacadeWhether or not the original type overrode Throwable.toString()- Specified by:
originalTypeOverridesToStringin interfaceIExceptionFacade
-