net.pleso.framework.client.bl.exceptions
Class AccessViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.pleso.framework.client.bl.exceptions.FrameworkRuntimeException
                  extended by net.pleso.framework.client.bl.exceptions.AccessViolationException
All Implemented Interfaces:
java.io.Serializable

public class AccessViolationException
extends FrameworkRuntimeException

This exception is thrown when some unauthorized action could be performed. Usually user controls block access to unauthorized actions by disabling or hiding corresponging buttons or controls. Nevertheless if some unaurhorized action has been started it should throw AccessViolationException to prevent access violation.

See Also:
Serialized Form

Constructor Summary
AccessViolationException()
          Constructs a new access violation exception with null as its detail message.
AccessViolationException(java.lang.String message)
          Constructs a new runtime exception with the specified detail message.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessViolationException

public AccessViolationException()
Constructs a new access violation exception with null as its detail message.


AccessViolationException

public AccessViolationException(java.lang.String message)
Constructs a new runtime exception with the specified detail message.

Parameters:
message - the detail message


Copyright © 2006-2007 pleso.net crew All Rights Reserved.