Class BitwardsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
fi.bitwards.service.BitwardsException
All Implemented Interfaces:
Serializable

public class BitwardsException extends Exception
Bitwards service exception.
See Also:
  • Constructor Details

    • BitwardsException

      public BitwardsException(String message)
      Constructor
      Parameters:
      message - the exception message
    • BitwardsException

      public BitwardsException(Throwable t)
      Constructor
      Parameters:
      t - the throwable to include to this exception
    • BitwardsException

      public BitwardsException(String message, Throwable t)
      Contructor
      Parameters:
      message - the exception message
      t - the throwable to include to this exception
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Get the error code for this exception.
      Returns:
      the error code (see BitwardsService ERROR_* codes)