Package edu.wisc.game.web
Class WebException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.wisc.game.web.WebException
- All Implemented Interfaces:
Serializable
public class WebException extends Exception
This is used when a lower-level function can tell a higher-level function
what kind of error it shoudl report to the end user.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description WebException(String msg)
-
Method Summary
Modifier and Type Method Description int
getCode()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
getCode
public int getCode()
-