Class ErrorInfo

java.lang.Object
de.elo.ix.client.imfs.ErrorInfo

public class ErrorInfo
extends java.lang.Object
Information about an information, warning, or error.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int EMPTY_ACL
    Imported file would have an empty ACL.
    static int ERROR
    Severity constant for errors.
    static int FILESYSTEM_EXCEPTION
    Error code for file system exceptions.
    static int INFO
    Severity constant for info.
    static int IX_EXCEPTION
    Error code for Indexserver exceptions.
    static int REFERENCE_DIFFERENCE
    Reference name differs from file name
    static int WARNING
    Severity constant for warnings.
  • Constructor Summary

    Constructors 
    Constructor Description
    ErrorInfo()  
    ErrorInfo​(int severity, int code, java.lang.String message, java.lang.String objectName)  
  • Method Summary

    Modifier and Type Method Description
    int getCode()  
    static java.lang.String getExceptionMessage​(java.lang.Exception ex)
    Get the message text from an Exception object.
    java.lang.String getMessage()  
    java.lang.String getObjectName()  
    int getSeverity()  
    void setCode​(int code)  
    void setMessage​(java.lang.String message)  
    void setObjectName​(java.lang.String objectName)  
    void setSeverity​(int severity)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait