System
Class UnauthorizedAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by System.SystemException
                  extended by System.UnauthorizedAccessException
All Implemented Interfaces:
java.io.Serializable

public class UnauthorizedAccessException
extends SystemException

The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error.

Author:
Halofreak1990
See Also:
Serialized Form

Constructor Summary
UnauthorizedAccessException()
          Initializes a new instance of the UnauthorizedAccessException class.
UnauthorizedAccessException(java.lang.String message)
          Initializes a new instance of the UnauthorizedAccessException class with a specified error message.
UnauthorizedAccessException(java.lang.String message, java.lang.RuntimeException innerException)
          Initializes a new instance of the UnauthorizedAccessException class with a specified error message and a reference to the inner exception that is the cause of this exception.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnauthorizedAccessException

public UnauthorizedAccessException()
Initializes a new instance of the UnauthorizedAccessException class.


UnauthorizedAccessException

public UnauthorizedAccessException(java.lang.String message)
Initializes a new instance of the UnauthorizedAccessException class with a specified error message.

Parameters:
message - The message that describes the error.

UnauthorizedAccessException

public UnauthorizedAccessException(java.lang.String message,
                                   java.lang.RuntimeException innerException)
Initializes a new instance of the UnauthorizedAccessException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:
message - The error message that explains the reason for the exception.
innerException - The exception that is the cause of the current exception. If the inner parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.