Package jp.cssj.cti2
Class TranscoderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
jp.cssj.cti2.TranscoderException
- All Implemented Interfaces:
Serializable
An exception that indicates document conversion has been aborted.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteThe conversion result data is corrupt.static final byteThe conversion result is incomplete, but the data is usable. -
Constructor Summary
ConstructorsConstructorDescriptionTranscoderException(byte state, short code, String[] args, String message) TranscoderException(short code, String[] args, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
STATE_READABLE
public static final byte STATE_READABLEThe conversion result is incomplete, but the data is usable.- See Also:
-
STATE_BROKEN
public static final byte STATE_BROKENThe conversion result data is corrupt.- See Also:
-
-
Constructor Details
-
TranscoderException
-
TranscoderException
-
-
Method Details
-
getCode
public short getCode()The message code that caused the abort.- Returns:
- The message code.
-
getArgs
The values associated with the message.- Returns:
- The message arguments.
-
getState
public byte getState()Returns the state after conversion (a STATE_XXX constant).- Returns:
- The state constant after conversion.
-