com.caucho.config
Class LineConfigException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.caucho.config.ConfigRuntimeException
                  extended by com.caucho.config.ConfigException
                      extended by com.caucho.config.LineConfigException
All Implemented Interfaces:
LineException, CompileException, DisplayableException, LineCompileException, java.io.Serializable
Direct Known Subclasses:
XmlParseException

public class LineConfigException
extends ConfigException
implements LineCompileException, LineException

Thrown by the various Builders

See Also:
Serialized Form

Constructor Summary
LineConfigException()
          Create a null exception
LineConfigException(java.lang.String msg)
          Creates an exception with a message
LineConfigException(java.lang.String filename, int line, java.lang.String message)
          Creates an exception with a message
LineConfigException(java.lang.String filename, int line, java.lang.String message, java.lang.Throwable cause)
           
LineConfigException(java.lang.String filename, int line, java.lang.Throwable cause)
           
LineConfigException(java.lang.String msg, java.lang.Throwable cause)
          Creates an exception with a message
 
Method Summary
static java.lang.RuntimeException create(java.lang.reflect.Field field, java.lang.Throwable e)
           
static java.lang.RuntimeException create(java.lang.reflect.Method method, java.lang.Throwable e)
           
static java.lang.RuntimeException create(java.lang.String filename, int line, java.lang.Throwable e)
           
static java.lang.RuntimeException create(java.lang.String loc, java.lang.Throwable e)
           
static java.lang.RuntimeException create(java.lang.Throwable e)
           
 java.lang.String getFilename()
           
 int getLineNumber()
           
static java.lang.String loc(java.lang.reflect.Field field)
           
static java.lang.String loc(java.lang.reflect.Method method)
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.config.ConfigException
create, create, createConfig, createLine, getMessage, print
 
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

LineConfigException

public LineConfigException()
Create a null exception


LineConfigException

public LineConfigException(java.lang.String msg)
Creates an exception with a message


LineConfigException

public LineConfigException(java.lang.String msg,
                           java.lang.Throwable cause)
Creates an exception with a message


LineConfigException

public LineConfigException(java.lang.String filename,
                           int line,
                           java.lang.String message)
Creates an exception with a message


LineConfigException

public LineConfigException(java.lang.String filename,
                           int line,
                           java.lang.Throwable cause)

LineConfigException

public LineConfigException(java.lang.String filename,
                           int line,
                           java.lang.String message,
                           java.lang.Throwable cause)
Method Detail

getFilename

public java.lang.String getFilename()

getLineNumber

public int getLineNumber()

toString

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

create

public static java.lang.RuntimeException create(java.lang.String filename,
                                                int line,
                                                java.lang.Throwable e)

create

public static java.lang.RuntimeException create(java.lang.reflect.Field field,
                                                java.lang.Throwable e)

create

public static java.lang.RuntimeException create(java.lang.reflect.Method method,
                                                java.lang.Throwable e)

create

public static java.lang.RuntimeException create(java.lang.String loc,
                                                java.lang.Throwable e)

create

public static java.lang.RuntimeException create(java.lang.Throwable e)

loc

public static java.lang.String loc(java.lang.reflect.Field field)

loc

public static java.lang.String loc(java.lang.reflect.Method method)