Class SDKServiceException

All Implemented Interfaces:
Serializable

public class SDKServiceException extends ModuleException
SDK service exception Created by wtoscer on 10/02/2015.
See Also:
  • Constructor Details

    • SDKServiceException

      public SDKServiceException(String message, Throwable cause, String... messageParameters)
      Constructor
      Parameters:
      message - the message
      cause - the cause
      messageParameters - the message parameters
    • SDKServiceException

      public SDKServiceException(String message, String... messageParameters)
      Constructor
      Parameters:
      message - the message
      messageParameters - the message parameters
    • SDKServiceException

      public SDKServiceException(Throwable cause)
      Constructor
      Parameters:
      cause - the cause
  • Method Details

    • getThrowableMessage

      public static String getThrowableMessage(String throwableLocalizedMessage)
      Find the throwable message
      Parameters:
      throwableLocalizedMessage - the throwable localized message
      Returns:
      the throwable message
    • isLocalized

      public boolean isLocalized()
      Check if the message is localized
      Returns:
      true if the message is localized
    • getLocalizedMessage

      public String getLocalizedMessage()
      Overrides:
      getLocalizedMessage in class Throwable
    • setLocalizedMessage

      public void setLocalizedMessage(String localizedMessage)
    • toString

      public String toString()
      Overrides:
      toString in class Throwable
    • getLocalizedMessage

      public String getLocalizedMessage(String local)
      Find the localized message
      Parameters:
      local - the local
      Returns:
      the localized message
    • getMessageParameters

      public String[] getMessageParameters()
    • isLogAsError

      public boolean isLogAsError()
    • setLogAsError

      public void setLogAsError(boolean logAsError)