Class SharingException

All Implemented Interfaces:
Serializable

public class SharingException extends PortalException
Signals that a Sharing Module Library exception has occurred.
See Also:
  • Constructor Details

    • SharingException

      public SharingException(EBufException ebufException, String message)
      Constructs a new SharingException class with an argument indicating the thrown EBufException as well opcode which is called.
      Parameters:
      opcode - the called opcode.
    • SharingException

      public SharingException()
      Constructs an SharingException with no detail message.
    • SharingException

      public SharingException(String s)
      Constructs an SharingException with the specified detail message.
      Parameters:
      s - the detail message.
    • SharingException

      public SharingException(EBufException ebufException, int opcode)
      Constructs a new SharingException class with an argument indicating the thrown EBufException as well opcode which is called.
      Parameters:
      opcode - the called opcode.
    • SharingException

      public SharingException(int opcode)
      Constructs a new SharingException class with an argument indicating the opcode which is called.
      Parameters:
      opcode - the called opcode.
  • Method Details

    • toString

      public String toString()
      Converts the error buffer information to a string. This is for logging and debugging, so it doesn't need to be localized.
      Overrides:
      toString in class Throwable
      Returns:
      The error buffer formatted as a string.
    • getEBufException

      public EBufException getEBufException()
      Returns:
      EBufException
    • log

      public void log()
      Logs the exception to the default error log