org.liquidsite.core.content
Class ContentSecurityException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.liquidsite.core.content.ContentSecurityException
All Implemented Interfaces:
java.io.Serializable

public class ContentSecurityException
extends java.lang.Exception

A content security exception. This exception is thrown when the content object couldn't be read or written by a specific user.

See Also:
Serialized Form

Constructor Summary
ContentSecurityException(java.lang.String message)
          Creates a new content security exception.
ContentSecurityException(User user, java.lang.String op, Content obj)
          Creates a new content security exception.
ContentSecurityException(User user, java.lang.String op, Domain obj)
          Creates a new content security exception.
ContentSecurityException(User user, java.lang.String op, Group obj)
          Creates a new content security exception.
ContentSecurityException(User user, java.lang.String op, User obj)
          Creates a new content security exception.
 
Method Summary
 java.lang.String getMessage()
          Returns the detailed error message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ContentSecurityException

public ContentSecurityException(java.lang.String message)
Creates a new content security exception.

Parameters:
message - the error message

ContentSecurityException

public ContentSecurityException(User user,
                                java.lang.String op,
                                Domain obj)
Creates a new content security exception.

Parameters:
user - the user attempting the operation
op - the operation name
obj - the object accessed

ContentSecurityException

public ContentSecurityException(User user,
                                java.lang.String op,
                                Content obj)
Creates a new content security exception.

Parameters:
user - the user attempting the operation
op - the operation name
obj - the object accessed

ContentSecurityException

public ContentSecurityException(User user,
                                java.lang.String op,
                                User obj)
Creates a new content security exception.

Parameters:
user - the user attempting the operation
op - the operation name
obj - the object accessed

ContentSecurityException

public ContentSecurityException(User user,
                                java.lang.String op,
                                Group obj)
Creates a new content security exception.

Parameters:
user - the user attempting the operation
op - the operation name
obj - the object accessed
Method Detail

getMessage

public java.lang.String getMessage()
Returns the detailed error message.

Returns:
the detailed error message