Package com.zeroc.Ice

Class UserException

All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
AccessDeniedException, AdapterAlreadyActiveException, AdapterNotExistException, AdapterNotFoundException, AllocationException, AlreadyStartedException, AlreadyStoppedException, AlreadySubscribed, ApplicationNotExistException, BadQoS, BadSignalException, CannotCreateSessionException, DeploymentException, FileAccessException, FileNotAvailableException, InvalidReplicaGroupIdException, InvalidSubscriber, LinkExists, NodeNotExistException, NodeUnreachableException, NoSuchLink, NoSuchServiceException, NoSuchTopic, ObjectExistsException, ObjectNotFoundException, ObjectNotRegisteredException, ObserverAlreadyRegisteredException, ParseException, PartitionOutOfRangeException, PatchException, PermissionDeniedException, PermissionDeniedException, RegistryNotExistException, RegistryUnreachableException, RemoteLoggerAlreadyAttachedException, ServerNotExistException, ServerNotFoundException, ServerStartException, ServerStopException, ServerUnreachableException, SessionNotExistException, TopicExists, UnknownMetricsView, UserAccountNotFoundException

public abstract class UserException extends Exception implements Cloneable
Base class for Slice user exceptions.
See Also:
  • Constructor Details

    • UserException

      public UserException()
    • UserException

      public UserException(Throwable cause)
  • Method Details

    • clone

      public UserException clone()
      Creates a copy of this exception.
      Overrides:
      clone in class Object
      Returns:
      The copy of this exception.
    • ice_name

      @Deprecated public String ice_name()
      Deprecated.
      ice_name() is deprecated, use ice_id() instead.
      Returns the name of this exception.
      Returns:
      The name of this exception.
    • ice_id

      public abstract String ice_id()
      Returns the type id of this exception.
      Returns:
      The type id of this exception.
    • ice_getSlicedData

      public SlicedData ice_getSlicedData()
      Returns the sliced data if the exception has a preserved-slice base class and has been sliced during un-marshaling, null is returned otherwise.
      Returns:
      The sliced data or null.
    • toString

      public String toString()
      Returns a string representation of this exception.
      Overrides:
      toString in class Throwable
      Returns:
      A string representation of this exception.