Class CodeIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.avadeaux.klipspringer.codec.CodeIOException
-
Constructor Summary
ConstructorsConstructorDescriptionCodeIOException(int code, String message) Constructs exception with error code and message. -
Method Summary
Modifier and TypeMethodDescriptionintGets the error code associated with the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CodeIOException
Constructs exception with error code and message.
-
-
Method Details
-
errorCode
public int errorCode()Gets the error code associated with the exception. Possible values depend on the library from which the exception is thrown, and is intended to be used to pinpoint specific errors.
-