org.openfast.error
Class ErrorCode

java.lang.Object
  extended by org.openfast.error.ErrorCode

public class ErrorCode
extends java.lang.Object


Constructor Summary
ErrorCode(ErrorType type, int code, java.lang.String shortName, java.lang.String description, FastAlertSeverity severity)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static ErrorCode getAlertCode(Message alertMsg)
           
 int getCode()
           
 java.lang.String getDescription()
           
 FastAlertSeverity getSeverity()
           
 java.lang.String getShortName()
           
 ErrorType getType()
           
 void throwException(java.lang.String message)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorCode

public ErrorCode(ErrorType type,
                 int code,
                 java.lang.String shortName,
                 java.lang.String description,
                 FastAlertSeverity severity)
Method Detail

throwException

public void throwException(java.lang.String message)

getCode

public int getCode()

getDescription

public java.lang.String getDescription()

getShortName

public java.lang.String getShortName()

getSeverity

public FastAlertSeverity getSeverity()

getAlertCode

public static ErrorCode getAlertCode(Message alertMsg)

getType

public ErrorType getType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.