org.apache.woden.internal
Class ErrorInfoImpl

java.lang.Object
  extended by org.apache.woden.internal.ErrorInfoImpl
All Implemented Interfaces:
ErrorInfo

public class ErrorInfoImpl
extends java.lang.Object
implements ErrorInfo

This class is a data object containing the information needed for reporting warnings, errors and fatal errors. It overrides the toString() method to concatenate this information into a single string for reporting purposes.

Author:
jkaputin@apache.org

Constructor Summary
ErrorInfoImpl(ErrorLocator errorLocator, java.lang.String key, java.lang.String message, java.lang.Exception exception)
           
 
Method Summary
 ErrorLocator getErrorLocator()
           
 java.lang.Exception getException()
           
 java.lang.String getKey()
           
 java.lang.String getMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorInfoImpl

public ErrorInfoImpl(ErrorLocator errorLocator,
                     java.lang.String key,
                     java.lang.String message,
                     java.lang.Exception exception)
Method Detail

getErrorLocator

public ErrorLocator getErrorLocator()
Specified by:
getErrorLocator in interface ErrorInfo

getKey

public java.lang.String getKey()
Specified by:
getKey in interface ErrorInfo

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface ErrorInfo

getException

public java.lang.Exception getException()
Specified by:
getException in interface ErrorInfo

toString

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


Copyright © 2007. All Rights Reserved.