/** * Creates a new ParseException with the given message and the locator. * * @param message the message * @param locator the locator of the parser */ public ParseException( final String message, final Locator locator ) { super( message ); fillLocation( locator ); noOwnMessage = ( message == null ); }
/** * Creates a new ParseException with the given message. * * @param message the message */ public ParseException( final String message ) { super( message ); fillLocation( null ); noOwnMessage = ( message == null ); }
/** * Creates a new ParseException with the given root exception. * * @param e the exception */ public ParseException( final Exception e ) { super( e ); fillLocation( null ); noOwnMessage = true; }
/** * Creates a new ParseException with the given message and root exception. * * @param message the message * @param e the exception */ public ParseException( final String message, final Exception e ) { super( message, e ); fillLocation( null ); noOwnMessage = ( message == null ); }
/** * Creates a new ParseException with the given root exception and the locator. * * @param e the exception * @param locator the locator of the parser */ public ParseException( final Exception e, final Locator locator ) { super( e ); fillLocation( locator ); noOwnMessage = true; }
/** * Creates a new ParseException with the given message, root exception and the locator. * * @param message the message * @param e the exception * @param locator the locator of the parser */ public ParseException( final String message, final Exception e, final Locator locator ) { super( message, e ); fillLocation( locator ); noOwnMessage = ( message == null ); }