java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.LocalException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlreadyRegisteredException
,CommunicatorDestroyedException
,ConnectionAbortedException
,ConnectionClosedException
,DispatchException
,FailureException
,FeatureNotSupportedException
,FixedProxyException
,InitializationException
,NoEndpointException
,NotRegisteredException
,ObjectAdapterDeactivatedException
,ObjectAdapterDestroyedException
,ObjectAdapterIdInUseException
,OperationInterruptedException
,ParseException
,PluginInitializationException
,PropertyException
,ProtocolException
,SecurityException
,SyscallException
,TimeoutException
,TwowayOnlyException
Base class for Ice run-time exceptions. These exceptions are not checked so we inherit from
java.lang.RuntimeException. User exceptions are checked exceptions and therefore inherit directly
from java.lang.Exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLocalException
(String message) Constructs a LocalException with a message.LocalException
(String message, Throwable cause) Constructs a LocalException with a message and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LocalException
Constructs a LocalException with a message.- Parameters:
message
- the detail message
-
LocalException
Constructs a LocalException with a message and a cause.- Parameters:
message
- the detail messagecause
- the cause
-
-
Method Details
-
ice_id
Returns the type ID of this exception.- Returns:
- the type ID of this exception
-