org.havi.ui.HPermissionDeniedException Maven / Gradle / Ivy
package org.havi.ui;
/*
* Copyright 2000-2003 by HAVi, Inc. Java is a trademark of Sun
* Microsystems, Inc. All rights reserved.
*/
/**
Thrown when an application attempts to control a device or feature
it does not have the right to do at the time of making the
call. The precise conditions of this are defined in more detail in
the places where this exception is thrown. It could be when the
application does not have some underlying resource reserved.
This exception is not related in any way to the Java security model
or to java.lang.SecurityException
. Methods where an
application could be denied the right to control a device or
feature by security policy also must throw a
java.lang.SecurityException
.
The parameters to the constructors are as follows, in cases where
parameters are not used, then the constructor should use the default
values.
Default parameter values exposed in the constructors
Parameter Description Default value
Set method Get method
message Message explaining why the exception was thrown
null - java.lang.Throwable#getMessage
Default parameter values not exposed in the constructors
Description Default value Set method
Get method
None.
*/
public class HPermissionDeniedException
extends java.lang.Exception
{
/**
* Creates an HPermissionDeniedException object. See the class
* description for details of constructor parameters and default
* values.
*/
public HPermissionDeniedException()
{
}
/**
* Creates an HPermissionDeniedException object with a specified
* reason string.
*
* @param message the reason why the exception was raised
*/
public HPermissionDeniedException(String message)
{
}
}