org.moyoman.util
Class PermissionsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.moyoman.util.PermissionsException
All Implemented Interfaces:
Serializable

public class PermissionsException
extends Exception

This exception is thrown when an operation occurs that is not permitted, for example, attempting to delete a standard mode.

See Also:
Serialized Form

Field Summary
private  String message
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
PermissionsException(String msg)
          Create the PermissionsException object.
 
Method Summary
 String toString()
          Return the reason for the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

message

private String message
Constructor Detail

PermissionsException

public PermissionsException(String msg)
Create the PermissionsException object.

Parameters:
msg - The message explaining the reason for the exception.
Method Detail

toString

public String toString()
Return the reason for the exception.

Overrides:
toString in class Throwable
Returns:
The message.