org.act.xservices.rt.metaset
类 BuilderConfigurationError

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Error
          继承者 org.act.xservices.rt.metaset.BuilderConfigurationError
所有已实现的接口:
java.io.Serializable

public class BuilderConfigurationError
extends java.lang.Error

Thrown when a problem with configuration with the Parser exists. This error will typically be thrown when the class of a parser specified in the factory properties cannot be found or instantiated.

自从:
JDK1.5
版本:
1.0 2008-5-12
作者:
Lizq [lizq@act.buaa.edu.cn]
另请参见:
序列化表格

构造函数摘要
BuilderConfigurationError()
          Create a new ParserConfigurationError with no detail mesage.
BuilderConfigurationError(java.lang.Exception e)
          Create a new ParserConfigurationError with a given Exception base cause of the error.
BuilderConfigurationError(java.lang.Exception e, java.lang.String msg)
          Create a new ParserConfigurationError with the given Exception base cause and detail message.
BuilderConfigurationError(java.lang.String msg)
          Create a new ParserConfigurationError with the String specified as an error message.
 
方法摘要
 java.lang.Exception getException()
          Return the actual exception (if any) that caused this exception to be raised.
 java.lang.String getMessage()
          Return the message (if any) for this error .
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造函数详细信息

BuilderConfigurationError

public BuilderConfigurationError()
Create a new ParserConfigurationError with no detail mesage.


BuilderConfigurationError

public BuilderConfigurationError(java.lang.String msg)
Create a new ParserConfigurationError with the String specified as an error message.

参数:
msg - The error message for the exception.

BuilderConfigurationError

public BuilderConfigurationError(java.lang.Exception e)
Create a new ParserConfigurationError with a given Exception base cause of the error.

参数:
e - The exception to be encapsulated in a FactoryConfigurationError.

BuilderConfigurationError

public BuilderConfigurationError(java.lang.Exception e,
                                 java.lang.String msg)
Create a new ParserConfigurationError with the given Exception base cause and detail message.

参数:
e - The exception to be encapsulated in a FactoryConfigurationError
msg - The detail message.
方法详细信息

getMessage

public java.lang.String getMessage()
Return the message (if any) for this error . If there is no message for the exception and there is an encapsulated exception then the message of that exception, if it exists will be returned. Else the name of the encapsulated exception will be returned.

覆盖:
java.lang.Throwable 中的 getMessage
返回:
The error message.

getException

public java.lang.Exception getException()
Return the actual exception (if any) that caused this exception to be raised.

返回:
The encapsulated exception, or null if there is none.