|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
edu.udo.cs.yale.NoOpUserError
public class NoOpUserError
An exception caused outside an operator which is not a bug, but
caused by the user.
Unfortunately, this class doubles most of the code of UserError.
| Field Summary | |
|---|---|
private int |
code
|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
NoOpUserError(int code)
Convenience constructor for messages with no arguments. |
|
NoOpUserError(int code,
java.lang.Object argument1)
Convenience constructor for messages with exactly one argument. |
|
NoOpUserError(int code,
java.lang.Object[] arguments)
|
|
NoOpUserError(int code,
java.lang.Object argument1,
java.lang.Object argument2)
Convenience constructor for messages with exactly two arguments. |
|
NoOpUserError(java.lang.Throwable cause,
int code)
Convenience constructor for messages with no arguments and cause. |
|
NoOpUserError(java.lang.Throwable cause,
int code,
java.lang.Object argument1)
Convenience constructor for messages with exactly one arguments and cause. |
|
NoOpUserError(java.lang.Throwable cause,
int code,
java.lang.Object[] arguments)
Creates a new NoOpUserError. |
|
| Method Summary | |
|---|---|
int |
getCode()
Returns the error code. |
java.lang.String |
getDetails()
Returns the error details/description. |
java.lang.String |
getErrorName()
Returns the error name. |
java.lang.String |
getHTMLMessage()
Returns a html message. |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private int code
| Constructor Detail |
|---|
public NoOpUserError(java.lang.Throwable cause,
int code,
java.lang.Object[] arguments)
cause - The exception that caused the user error. May be null. Using
this makes debugging a lot easier.code - The error code referring to a message in the file
UserErrorMessages.propertiesarguments - Arguments for the short message.
public NoOpUserError(java.lang.Throwable cause,
int code)
public NoOpUserError(int code,
java.lang.Object[] arguments)
public NoOpUserError(int code)
public NoOpUserError(int code,
java.lang.Object argument1)
public NoOpUserError(java.lang.Throwable cause,
int code,
java.lang.Object argument1)
public NoOpUserError(int code,
java.lang.Object argument1,
java.lang.Object argument2)
| Method Detail |
|---|
public java.lang.String getDetails()
NoBugError
getDetails in interface NoBugErrorpublic java.lang.String getErrorName()
NoBugError
getErrorName in interface NoBugErrorpublic int getCode()
NoBugError
getCode in interface NoBugErrorpublic java.lang.String getHTMLMessage()
NoBugError
getHTMLMessage in interface NoBugError
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||