org.moyoman.util
Class InternalErrorException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.moyoman.util.InternalErrorException
- All Implemented Interfaces:
- Serializable
- public class InternalErrorException
- extends Exception
This exception is thrown when an internal error occurs,
for example, being unable to read a configuration file.
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
message
private String message
InternalErrorException
public InternalErrorException(String msg)
- Create the InternalErrorException object.
- Parameters:
msg
- The message explaining the reason for the exception.
InternalErrorException
public InternalErrorException(Exception e)
- Create an InternalErrorException object from another Exception.
- Parameters:
e
- The exception to be converted to an InternalErrorException.
toString
public String toString()
- Return the reason for the exception.
- Overrides:
toString
in class Throwable
- Returns:
- The message.