org.weblab_project.services.exception
Class WebLabException

java.lang.Object
  extended by org.weblab_project.services.exception.WebLabException
All Implemented Interfaces:
java.io.Serializable

public class WebLabException
extends java.lang.Object
implements java.io.Serializable

This is the common exception to be shared by the services. It contains an error message which is free to use and a errorId which is normalised.

Java class for webLabException complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="webLabException">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="errorId" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String errorId
           
protected  java.lang.String errorMessage
           
 
Constructor Summary
WebLabException()
           
 
Method Summary
 java.lang.String getErrorId()
          Gets the value of the errorId property.
 java.lang.String getErrorMessage()
          Gets the value of the errorMessage property.
 void setErrorId(java.lang.String value)
          Sets the value of the errorId property.
 void setErrorMessage(java.lang.String value)
          Sets the value of the errorMessage property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorMessage

protected java.lang.String errorMessage

errorId

protected java.lang.String errorId
Constructor Detail

WebLabException

public WebLabException()
Method Detail

getErrorMessage

public java.lang.String getErrorMessage()
Gets the value of the errorMessage property.

Returns:
possible object is String

setErrorMessage

public void setErrorMessage(java.lang.String value)
Sets the value of the errorMessage property.

Parameters:
value - allowed object is String

getErrorId

public java.lang.String getErrorId()
Gets the value of the errorId property.

Returns:
possible object is String

setErrorId

public void setErrorId(java.lang.String value)
Sets the value of the errorId property.

Parameters:
value - allowed object is String


Copyright © 2004-2009. All Rights Reserved.