litesoft
@ 943
litesoft / trunk / Java / core / Anywhere / src / org / litesoft / commonfoundation / exceptions / PersistenceException.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt package org.litesoft.commonfoundation.exceptions; public class PersistenceException extends RuntimeException { public PersistenceException( String message ) { super( message ); } public PersistenceException( String message, Throwable cause ) { super( message, cause ); } public PersistenceException( Throwable cause ) { super( cause ); } private String mAugmentedMessage = null; public String getAugmentedMessage() { return mAugmentedMessage; } public void setAugmentedMessage( String pAugmentedMessage ) { mAugmentedMessage = pAugmentedMessage; } /** * Returns the detail message string of this throwable. * * @return the detail message string of this <tt>Throwable</tt> instance * (which may be <tt>null</tt>). */ @Override public String getMessage() { String zMessage = super.getMessage(); if ( mAugmentedMessage != null ) { zMessage += mAugmentedMessage; } return zMessage; } } |
Commits for litesoft/trunk/Java/core/Anywhere/src/org/litesoft/commonfoundation/exceptions/PersistenceException.java
Revision | Author | Commited | Message |
---|---|---|---|
943 Diff | GeorgeS | Tue 03 Jun, 2014 04:25:50 +0000 | Extracting commonfoundation |
939 Diff | GeorgeS | Mon 02 Jun, 2014 21:30:31 +0000 | Extracting commonfoundation |
49 Diff | GeorgeS | Mon 12 Apr, 2010 02:59:10 +0000 | License Text |
48 Diff | GeorgeS | Sun 11 Apr, 2010 16:15:16 +0000 | |
2 | GeorgeS | Sun 07 Feb, 2010 12:50:58 +0000 |