Package com.primavera

Class ServerException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PhoenixException

public class ServerException extends PrimaveraException
Base class for all server-side exceptions
See Also:
  • Constructor Details

    • ServerException

      public ServerException(String strMessage, Throwable thE)
      Class constructor specifying a detailed message and the original thrown exception.
      Parameters:
      strMessage - the detailed message of this exception
      thE - the originally thrown exception
    • ServerException

      public ServerException(String strMessage)
      Class constructor specifying a detailed message.
      Parameters:
      strMessage - the message of this exception
  • Method Details

    • getSource

      public Object getSource()
      Gets the source for this exception, if any. For BatchExceptions, the source will be an Integer representing the index of the business object for which an exception occurred.
      Returns:
      the source object
    • setSource

      public void setSource(Object obj)
      Sets the source for this exception. For BatchExceptions, the source will be an Integer representing the index of the business object for which an exception occurred.
      Parameters:
      obj - the source object