de.fhhannover.inform.trust.ifmapj.exception
Class IfmapErrorResult

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.fhhannover.inform.trust.ifmapj.exception.IfmapErrorResult
All Implemented Interfaces:
Serializable

public class IfmapErrorResult
extends Exception

Exception to be thrown if a MAPS replied with an ErrorResult to any of the methods SSRC and ARC offers.

Author:
aw
See Also:
Serialized Form

Constructor Summary
IfmapErrorResult(IfmapErrorCode errCode, String errStr)
          Construct a IfmapErrorResult exception with obligatory parameters
IfmapErrorResult(IfmapErrorCode errCode, String errStr, String name)
           
 
Method Summary
 IfmapErrorCode getErrorCode()
           
 String getErrorString()
           
 String getName()
           
 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
 

Constructor Detail

IfmapErrorResult

public IfmapErrorResult(IfmapErrorCode errCode,
                        String errStr)
Construct a IfmapErrorResult exception with obligatory parameters

Parameters:
errCode -
errStr -
Throws:
NullPointerException - if errStr is null

IfmapErrorResult

public IfmapErrorResult(IfmapErrorCode errCode,
                        String errStr,
                        String name)
Method Detail

getErrorCode

public IfmapErrorCode getErrorCode()

getErrorString

public String getErrorString()

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2012 Trust@FHH. All Rights Reserved.