1 40 41 package org.jahia.exceptions; 42 43 44 50 public class JahiaPersistenceException extends JahiaException { 51 52 59 public JahiaPersistenceException (String message) { 60 super ("Persistence error", message, JahiaException.PERSISTENCE_ERROR, 61 JahiaException.CRITICAL_SEVERITY, null); 62 } 63 64 72 public JahiaPersistenceException (String message, Throwable t) { 73 super ("Persistence error", message, JahiaException.PERSISTENCE_ERROR, 74 JahiaException.CRITICAL_SEVERITY, t); 75 } 76 77 85 public JahiaPersistenceException (String message, int errorCode, Throwable t) { 86 super ("Persistence error", message, errorCode, JahiaException.CRITICAL_SEVERITY, t); 87 } 88 89 96 public JahiaPersistenceException (String message, int errorCode) { 97 super ("Persistence error", message, errorCode, JahiaException.CRITICAL_SEVERITY, null); 98 } 99 100 109 public JahiaPersistenceException (String message, int errorCode, 110 int severity, Throwable t) 111 { 112 super ("Persistence error", message, errorCode, severity, t); 113 } 114 115 123 public JahiaPersistenceException (String message, int errorCode, int severity) 124 { 125 super ("Persistence error", message, errorCode, severity, null); 126 } 127 } | Popular Tags |