Class RuntimeIOException

All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap

public class RuntimeIOException extends AbstractRuntimeException
Unchecked exception with the same semantics as the IOException.
See Also:
  • Constructor Details

    • RuntimeIOException

      public RuntimeIOException(String aMessage, String aErrorCode)
    • RuntimeIOException

      public RuntimeIOException(String aMessage, Throwable aCause, String aErrorCode)
    • RuntimeIOException

      public RuntimeIOException(String aMessage, Throwable aCause)
    • RuntimeIOException

      public RuntimeIOException(String aMessage)
    • RuntimeIOException

      public RuntimeIOException(Throwable aCause, String aErrorCode)
    • RuntimeIOException

      public RuntimeIOException(Throwable aCause)
  • Method Details

    • getErrorCode

      public String getErrorCode()
      Provides the according exception code. An exception code can be provided when creating an exception and it can be used by the business logic to retrieve a language depended exception aMessage (multi-language support) from a language pack instead of just providing the single language aMessage as being stored by the default exceptions.
      Specified by:
      getErrorCode in interface ErrorCodeAccessor
      Overrides:
      getErrorCode in class AbstractRuntimeException
      Returns:
      The exception code in question.