SK.gnome.sane
Class SaneException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by SK.gnome.morena.MorenaException
              extended by SK.gnome.sane.SaneException
All Implemented Interfaces:
java.io.Serializable, MorenaConstants, SaneConstants

public class SaneException
extends MorenaException
implements SaneConstants

Sane specific exception.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface SK.gnome.sane.SaneConstants
SANE_ACTION_GET_VALUE, SANE_ACTION_SET_AUTO, SANE_ACTION_SET_VALUE, SANE_CAP_ADVANCED, SANE_CAP_AUTOMATIC, SANE_CAP_EMULATED, SANE_CAP_HARD_SELECT, SANE_CAP_INACTIVE, SANE_CAP_SOFT_DETECT, SANE_CAP_SOFT_SELECT, SANE_CONSTRAINT_NONE, SANE_CONSTRAINT_RANGE, SANE_CONSTRAINT_STRING_LIST, SANE_CONSTRAINT_WORD_LIST, SANE_FRAME_BLUE, SANE_FRAME_GRAY, SANE_FRAME_GREEN, SANE_FRAME_RED, SANE_FRAME_RGB, SANE_NET_AUTHORIZE, SANE_NET_CANCEL, SANE_NET_CLOSE, SANE_NET_CONTROL_OPTION, SANE_NET_EXIT, SANE_NET_GET_DEVICES, SANE_NET_GET_OPTION_DESCRIPTORS, SANE_NET_GET_PARAMETERS, SANE_NET_INIT, SANE_NET_OPEN, SANE_NET_START, SANE_STATUS_ACCESS_DENIED, SANE_STATUS_CANCELLED, SANE_STATUS_COVER_OPEN, SANE_STATUS_DEVICE_BUSY, SANE_STATUS_EOF, SANE_STATUS_GOOD, SANE_STATUS_INVAL, SANE_STATUS_IO_ERROR, SANE_STATUS_JAMMED, SANE_STATUS_NO_DOCS, SANE_STATUS_NO_MEM, SANE_STATUS_UNSUPPORTED, SANE_TYPE_BOOL, SANE_TYPE_BUTTON, SANE_TYPE_FIXED, SANE_TYPE_GROUP, SANE_TYPE_INT, SANE_TYPE_STRING, SANE_UNIT_BIT, SANE_UNIT_DPI, SANE_UNIT_MICROSECOND, SANE_UNIT_MM, SANE_UNIT_NONE, SANE_UNIT_PERCENT, SANE_UNIT_PIXEL, SANE_VERSION, STATUS_CODE, UNFIX_CONST
 
Fields inherited from interface SK.gnome.morena.MorenaConstants
MORENA_MESSAGES, VERSION
 
Constructor Summary
SaneException(int code)
          Create exception with specified error code.
SaneException(java.lang.String message)
          Create exception with specified error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SaneException

public SaneException(java.lang.String message)
Create exception with specified error message.


SaneException

public SaneException(int code)
Create exception with specified error code.