Class GenericTransferrableException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- com.inductiveautomation.ignition.common.GenericTransferrableException
 
 
 
- 
- All Implemented Interfaces:
- IExceptionFacade,- java.io.Serializable
 
 public class GenericTransferrableException extends java.lang.Exception implements IExceptionFacade 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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedGenericTransferrableException(java.lang.Throwable source)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenericTransferrableExceptioncreateFrom(java.lang.Throwable source)java.lang.StringgetOriginalClassname()The original classname of the exception type.booleanoriginalTypeOverridesToString()Whether or not the original type overrode Throwable.toString()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
createFrompublic static GenericTransferrableException createFrom(java.lang.Throwable source) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Throwable
 
 - 
getOriginalClassnamepublic java.lang.String getOriginalClassname() Description copied from interface:IExceptionFacadeThe original classname of the exception type.- Specified by:
- getOriginalClassnamein interface- IExceptionFacade
 
 - 
originalTypeOverridesToStringpublic boolean originalTypeOverridesToString() Description copied from interface:IExceptionFacadeWhether or not the original type overrode Throwable.toString()- Specified by:
- originalTypeOverridesToStringin interface- IExceptionFacade
 
 
- 
 
-