|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
de.tif.jacob.core.exception.UserException
public class UserException
UserException is the base class of all (non runtime) exceptions which in general result due to inproper user operation.
Exceptions of type UserException should be handled by gui clients by means of generating a nice (i.e. a localized, user understandable) warning.
UserRuntimeException,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
RCS_ID
The internal revision control system id. |
static java.lang.String |
RCS_REV
The internal revision control system id in short form. |
| Constructor Summary | |
|---|---|
UserException(Message message)
Constructs a new user exception with the specified internationalized detail message. |
|
UserException(Message message,
java.lang.Throwable cause)
Constructs a new user exception with the specified internationalized detail message and an additional exception cause. |
|
UserException(java.lang.String message)
Constructs a new user exception with the specified detail message. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Returns a localized detail message for the given locale. |
java.lang.String |
getMessage()
Returns the detail message. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final transient java.lang.String RCS_ID
public static final transient java.lang.String RCS_REV
| Constructor Detail |
|---|
public UserException(java.lang.String message)
Note: This constructor should only be used, if your application is not
designed for multi language support! To internationalize the exception use
UserException(Message) or
UserException(Message, Throwable).
message - the detail messagepublic UserException(Message message)
message - the internationalized detail message
public UserException(Message message,
java.lang.Throwable cause)
message - the internationalized detail messagecause - the original cause| Method Detail |
|---|
public java.lang.String getLocalizedMessage(java.util.Locale locale)
locale - the locale
public java.lang.String getMessage()
getMessage in class java.lang.ThrowableThrowable.getMessage()
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||