Class MyThrowable

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.googlecode.catchexception.throwable.MyThrowable
All Implemented Interfaces:
Serializable

public class MyThrowable extends RuntimeException
The Class MyThrowable.
See Also:
  • Constructor Details

    • MyThrowable

      public MyThrowable(int errorCode)
      Instantiates a new my throwable.
      Parameters:
      errorCode - the error code
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Gets the error code.
      Returns:
      the error code