org.kuali.rice.core.api.exception
Class KualiException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.kuali.rice.core.api.exception.KualiException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationException, AuthorizationException, BeanPropertyComparator.BeanComparisonException, BusinessObjectNotLookupableException, CacheException, DuplicateKeyException, FileUploadLimitExceededException, ModuleServiceNotFoundException, UnknownDocumentIdException

public abstract class KualiException
extends RuntimeException

This is a default exception class that others inherit. When an exception is thrown, the exception handler looks for an instance of this class and processes as Kuali exception. Otherwise, generic system exception is processed.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
KualiException(String message)
          This constructs an instance of java.lang.RuntimeException
KualiException(String message, boolean hideIncidentReport)
          This constructs an instance of java.lang.RuntimeException
KualiException(String message, Throwable t)
          This constructs an instance of java.lang.RuntimeException
KualiException(Throwable t)
          This constructs an instance of java.lang.RuntimeException
 
Method Summary
 boolean isHideIncidentReport()
           
 void setHideIncidentReport(boolean hideIncidentReport)
           
 
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

KualiException

public KualiException(String message)
This constructs an instance of java.lang.RuntimeException

Parameters:
message -

KualiException

public KualiException(String message,
                      boolean hideIncidentReport)
This constructs an instance of java.lang.RuntimeException

Parameters:
message -
hideIncidentReport -

KualiException

public KualiException(String message,
                      Throwable t)
This constructs an instance of java.lang.RuntimeException

Parameters:
message -
t -

KualiException

public KualiException(Throwable t)
This constructs an instance of java.lang.RuntimeException

Parameters:
t -
Method Detail

setHideIncidentReport

public void setHideIncidentReport(boolean hideIncidentReport)
Parameters:
hideIncidentReport - the hideIncidentReport to set

isHideIncidentReport

public boolean isHideIncidentReport()
Returns:
the hideIncidentReport


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.