au.edu.archer.service.common.exceptions
Class BusinessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by au.edu.archer.service.common.exceptions.BusinessException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DDMServiceException, ICATServiceException, InvalidDDMRequestException, InvalidICATRequestException, InvalidSRBRequestException, MailServiceException, MetadataExtractionException, SRBServiceException, UnauthorisedDDMRequestException, UnsyncedContentException

public class BusinessException
extends java.lang.Exception

An exception which is thrown when business logic goes wrong.

All the business exception classes shall extend this exception.

See Also:
Serialized Form

Constructor Summary
BusinessException()
          Default constructor.
BusinessException(java.lang.String message)
          Constructor taking error message.
BusinessException(java.lang.String message, java.lang.Throwable rootCause)
          Constructor taking throwable object and error message.
BusinessException(java.lang.Throwable rootCause)
          Constructor taking throwable object.
 
Method Summary
 
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

BusinessException

public BusinessException()
Default constructor.


BusinessException

public BusinessException(java.lang.String message)
Constructor taking error message.

Parameters:
message - error message to set.

BusinessException

public BusinessException(java.lang.Throwable rootCause)
Constructor taking throwable object.

Parameters:
rootCause - Throwable object to set.

BusinessException

public BusinessException(java.lang.String message,
                         java.lang.Throwable rootCause)
Constructor taking throwable object and error message.

Parameters:
message - error message to set.
rootCause - Throwable object to set.


Copyright © 2008-09 Monash University. All Rights Reserved.