Class NoAccessException

All Implemented Interfaces:
Serializable

public class NoAccessException extends ConsumerContractException
The value cannot be changed. The metadata for the data element or property should be checked to avoid this error. This condition is the result of supplying a value to an OsidForm where the provider does not implement or permit changes to the element.
See Also:
  • Constructor Details

    • NoAccessException

      public NoAccessException(String msg)
      Constructs a NoAccessException with the specified detail message. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
    • NoAccessException

      public NoAccessException(String msg, Throwable t)
      Constructs a NoAccessException with the specified detail message and cause. The error message string msg can later be retrieved by the getMessage() method of Throwable.
      Parameters:
      msg - the error message
      t - the cause of the exception
    • NoAccessException

      public NoAccessException(Throwable t)
      Constructs a NoAccessException with the specified cause and a detail message of cause.toString() which typically contains the class and detail message of cause.
      Parameters:
      t - the cause of the exception