1 package org.tigris.scarab.util; 2 3 import org.tigris.scarab.tools.localization.L10NMessage; 4 import org.tigris.scarab.tools.localization.LocalizationKey; 5 6 51 52 60 public class ValidationException extends ScarabException 61 { 62 68 public ValidationException(LocalizationKey l10nKey) 69 { 70 super(l10nKey); 71 } 72 73 79 public ValidationException(L10NMessage l10nMessage) 80 { 81 super(l10nMessage); 82 } 83 84 90 public ValidationException(L10NMessage l10nMessage, Throwable nested) 91 { 92 super(l10nMessage, nested); 93 } 94 95 100 public ValidationException (LocalizationKey theKey, Object [] theParams) 101 { 102 super(theKey,theParams); 103 } 104 105 110 public ValidationException (LocalizationKey theKey, Object p1) 111 { 112 this(theKey, new Object [] {p1}); 113 } 114 115 120 public ValidationException (LocalizationKey theKey, Object p1, Object p2) 121 { 122 this(theKey, new Object [] {p1, p2}); 123 } 124 125 130 public ValidationException(LocalizationKey theKey, Object p1, Object p2, Object p3) 131 { 132 this(theKey, new Object [] {p1, p2, p3}); 133 } 134 135 136 141 public ValidationException(LocalizationKey theKey, Throwable nested, Object [] theParams) 142 { 143 super(theKey, nested, theParams); 144 } 145 146 } 147 | Popular Tags |