Package net.sf.basedb.core.signal
Class UnsupportedSignalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.basedb.core.BaseException
net.sf.basedb.core.signal.SignalException
net.sf.basedb.core.signal.UnsupportedSignalException
- All Implemented Interfaces:
Serializable
This exception is thrown by signal handlers and others that
doesn't support a given signal.
- Version:
- 2.6
- Author:
- nicklas
- See Also:
- Last modified
- $Date: 2008-09-11 22:09:17 +0200 (to, 11 sep 2008) $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUnsupportedSignalException
(Signal signal) Create a new UnsupportedSignalException.UnsupportedSignalException
(Signal signal, String msg) Create a new UnsupportedSignalException with a custom 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
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
signal
-
-
Constructor Details
-
UnsupportedSignalException
Create a new UnsupportedSignalException.- Parameters:
signal
- The signal that is not supported
-
UnsupportedSignalException
Create a new UnsupportedSignalException with a custom message.- Parameters:
signal
- The signal that is not supportedmsg
- The message, if null a standard message will be generated
-
-
Method Details
-
getSignal
Get the signal that is not supported.- Returns:
- A signal object
-