/** * Construct with message and cause. */ public OpenJPAException(String msg, Throwable cause) { super(msg); setCause(cause); }
/** * Construct with message and cause. */ public OpenJPAException(String msg, Throwable cause) { super(msg); setCause(cause); }
/** * Construct with message and cause. */ public OpenJPAException(String msg, Throwable cause) { super(msg); setCause(cause); }
/** * Construct with message and cause. */ public OpenJPAException(String msg, Throwable cause) { super(msg); setCause(cause); }
/** * Construct with message and cause. */ public OpenJPAException(String msg, Throwable cause) { super(msg); setCause(cause); }
/** * Construct with message and cause. */ public OpenJPAException(Message msg, Throwable cause) { super(msg.getMessage()); setCause(cause); }
/** * Construct with message and cause. */ public OpenJPAException(Message msg, Throwable cause) { super(msg.getMessage()); setCause(cause); }
/** * Construct with message and cause. */ public OpenJPAException(Message msg, Throwable cause) { super(msg.getMessage()); setCause(cause); }
/** * Construct with message and cause. */ public OpenJPAException(Message msg, Throwable cause) { super(msg.getMessage()); setCause(cause); }
/** * Construct with message and cause. */ public OpenJPAException(Message msg, Throwable cause) { super(msg.getMessage()); setCause(cause); }
/** * Throw an exception if the context is closed. The exact message and * content of the exception varies whether TRACE is enabled or not. */ public void assertOpen() { if (_closed) { if (_closedException == null) // TRACE not enabled throw new InvalidStateException(_loc.get("closed-notrace")) .setFatal(true); else { OpenJPAException e = new InvalidStateException( _loc.get("closed"), _closedException).setFatal(true); e.setCause(_closedException); throw e; } } }
/** * Throw an exception if the context is closed. The exact message and * content of the exception varies whether TRACE is enabled or not. */ public void assertOpen() { if (_closed) { if (_closedException == null) // TRACE not enabled throw new InvalidStateException(_loc.get("closed-notrace")) .setFatal(true); else { OpenJPAException e = new InvalidStateException( _loc.get("closed"), _closedException).setFatal(true); e.setCause(_closedException); throw e; } } }
/** * Throw an exception if the context is closed. The exact message and * content of the exception varies whether TRACE is enabled or not. */ public void assertOpen() { if (_closed) { if (_closedException == null) // TRACE not enabled throw new InvalidStateException(_loc.get("closed-notrace")) .setFatal(true); else { OpenJPAException e = new InvalidStateException( _loc.get("closed"), _closedException).setFatal(true); e.setCause(_closedException); throw e; } } }
/** * Throw an exception if the context is closed. The exact message and * content of the exception varies whether TRACE is enabled or not. */ public void assertOpen() { if (_closed) { if (_closedException == null) // TRACE not enabled throw new InvalidStateException(_loc.get("closed-notrace")) .setFatal(true); else { OpenJPAException e = new InvalidStateException( _loc.get("closed"), _closedException).setFatal(true); e.setCause(_closedException); throw e; } } }
/** * Throw an exception if the context is closed. The exact message and * content of the exception varies whether TRACE is enabled or not. */ public void assertOpen() { if (_closed) { if (_closedException == null) // TRACE not enabled throw new InvalidStateException(_loc.get("closed-notrace")) .setFatal(true); else { OpenJPAException e = new InvalidStateException( _loc.get("closed"), _closedException).setFatal(true); e.setCause(_closedException); throw e; } } }