org.openrdf.http.protocol.error
Class ErrorInfo

java.lang.Object
  extended by org.openrdf.http.protocol.error.ErrorInfo

public class ErrorInfo
extends Object

Author:
Herko ter Horst, Arjohn Kampman

Constructor Summary
ErrorInfo(ErrorType errorType, String errMsg)
           
ErrorInfo(String errMsg)
           
 
Method Summary
 String getErrorMessage()
           
 ErrorType getErrorType()
           
static ErrorInfo parse(String errInfoString)
          Parses the string output that is produced by toString().
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorInfo

public ErrorInfo(String errMsg)

ErrorInfo

public ErrorInfo(ErrorType errorType,
                 String errMsg)
Method Detail

getErrorType

public ErrorType getErrorType()

getErrorMessage

public String getErrorMessage()

toString

public String toString()
Overrides:
toString in class Object

parse

public static ErrorInfo parse(String errInfoString)
Parses the string output that is produced by toString().



Copyright © 2001-2007 Aduna. All Rights Reserved.