/** Retrieves a message with three arguments. */ public static String getMessage(String name, Object a1, Object a2, Object a3) throws MissingResourceException { return getMessage(name, new Object[] { a1, a2, a3 }); }
/** * Constructs a NullAttributeException with appropriate information. * * @param tag The name of the tag in which the error occurred. * @param att The attribute value for which the error occurred. */ public NullAttributeException(String tag, String att) { super(Resources.getMessage("TAG_NULL_ATTRIBUTE", att, tag)); } }
/** * Constructs a NullAttributeException with appropriate information. * * @param tag The name of the tag in which the error occurred. * @param att The attribute value for which the error occurred. */ public NullAttributeException(String tag, String att) { super(Resources.getMessage("TAG_NULL_ATTRIBUTE", att, tag)); } }
/** Retrieves a message with three arguments. */ public static String getMessage(String name, Object a1, Object a2, Object a3) throws MissingResourceException { return getMessage(name, new Object[] { a1, a2, a3 }); }
/** Retrieves a message with five arguments. */ public static String getMessage(String name, Object a1, Object a2, Object a3, Object a4, Object a5) throws MissingResourceException { return getMessage(name, new Object[] { a1, a2, a3, a4, a5 }); }
/** Retrieves a message with one argument. */ public static String getMessage(String name, Object a1) throws MissingResourceException { return getMessage(name, new Object[] { a1 }); }
/** Retrieves a message with four arguments. */ public static String getMessage(String name, Object a1, Object a2, Object a3, Object a4) throws MissingResourceException { return getMessage(name, new Object[] { a1, a2, a3, a4 }); }
/** * Constructs a NullAttributeException with appropriate information. * * @param tag The name of the tag in which the error occurred. * @param att The attribute value for which the error occurred. */ public NullAttributeException(String tag, String att) { super(Resources.getMessage("TAG_NULL_ATTRIBUTE", att, tag)); } }
/** * Constructs a NullAttributeException with appropriate information. * * @param tag The name of the tag in which the error occurred. * @param att The attribute value for which the error occurred. */ public NullAttributeException(String tag, String att) { super(Resources.getMessage("TAG_NULL_ATTRIBUTE", att, tag)); } }
/** Retrieves a message with six arguments. */ public static String getMessage(String name, Object a1, Object a2, Object a3, Object a4, Object a5, Object a6) throws MissingResourceException { return getMessage(name, new Object[] { a1, a2, a3, a4, a5, a6 }); }
/** Retrieves a message with one argument. */ public static String getMessage(String name, Object a1) throws MissingResourceException { return getMessage(name, new Object[] { a1 }); }
/** Retrieves a message with five arguments. */ public static String getMessage(String name, Object a1, Object a2, Object a3, Object a4, Object a5) throws MissingResourceException { return getMessage(name, new Object[] { a1, a2, a3, a4, a5 }); }
/** Retrieves a message with six arguments. */ public static String getMessage(String name, Object a1, Object a2, Object a3, Object a4, Object a5, Object a6) throws MissingResourceException { return getMessage(name, new Object[] { a1, a2, a3, a4, a5, a6 }); }
/** Retrieves a message with four arguments. */ public static String getMessage(String name, Object a1, Object a2, Object a3, Object a4) throws MissingResourceException { return getMessage(name, new Object[] { a1, a2, a3, a4 }); }
/** * Always throws a SQLException. Not supported. */ public int getLoginTimeout() throws SQLException { throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); }
/** * Always throws a SQLException. Not supported. */ public PrintWriter getLogWriter() throws SQLException { throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); }
/** * Always throws a SQLException. Not supported. */ public synchronized void setLogWriter(PrintWriter out) throws SQLException { throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); }
/** * Always throws a SQLException. Not supported. */ public int getLoginTimeout() throws SQLException { throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); }
/** * Called by a subtag to indicate that it plans to evaluate its * body. */ public synchronized void subtagSucceeded() { if (subtagGateClosed) { throw new IllegalStateException( Resources.getMessage("CHOOSE_EXCLUSIVITY")); } subtagGateClosed = true; }
/** * Always throws a SQLException. Username and password are set * in the constructor and can not be changed. */ public Connection getConnection(String username, String password) throws SQLException { throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); }