|
OpMath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.opmath.util.http.ParameterAbsentException
Signals that a parameter (such as an HTTP environmental variable) was not present.
This method can be used to assign a default value in the case of an absent parameter, for example, with:
try {
newState = request.getStringParameter(StatefulServlet.STATE_PNAME);
} catch(ParameterAbsentException paE) {
newState = StatefulServlet.STATE_DFLT;
}
Copyright: (c) 2002 The Open Math Company Limited
The Terms of Distribution of this software are stipulated in the javadoc Overview for this project.
| Constructor Summary | |
ParameterAbsentException()
Constructs a new ParameterAbsentException with no message. |
|
ParameterAbsentException(String s)
Constructs a new ParameterAbsentException with a String
message. |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public ParameterAbsentException()
Constructs a new ParameterAbsentException with no message.
public ParameterAbsentException(String s)
Constructs a new ParameterAbsentException with a String
message.
s - a String carrying a descriptive message.
|
OpMath | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||