org.sakaiproject.exception
Class CopyrightException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.sakaiproject.exception.CopyrightException
All Implemented Interfaces:
Serializable

public class CopyrightException
extends Exception

CopyrightException is thrown when a resource is accessed that requires a copyright agreement from the end user.

Author:
Sakai Software Development Team
See Also:
Serialized Form

Field Summary
protected  String m_ref
           
 
Constructor Summary
CopyrightException()
           
CopyrightException(String msg)
           
CopyrightException(String msg, String ref)
           
 
Method Summary
 String getReference()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_ref

protected String m_ref
Constructor Detail

CopyrightException

public CopyrightException()

CopyrightException

public CopyrightException(String msg)

CopyrightException

public CopyrightException(String msg,
                          String ref)
Method Detail

toString

public String toString()

getReference

public String getReference()