JournalException
163164165166167168169170
} if (this.action != null) { this.action.read(record); } else { throw new JournalException("Unknown workspace action type"); } }
179180181182183184185186
record.writeInt(getActionType()); if (action != null) { action.write(record); } else { throw new JournalException("Can not write empty workspace action"); } }
727374757677787980
public void process(ClusterRecordProcessor processor) { } }; break; default: throw new JournalException("Unknown record identifier: " + c); } return clusterRecord; }
28293031323334353637
static boolean refuseLock = false; @Override protected void doLock() throws JournalException { if (refuseLock) { throw new JournalException("lock refused"); } else { super.doLock(); } }
167168169170171172173174
184185186187188189190191
798081828384858687
175176177178179180181182183184
case EVENT_IDENTIFIER: readEventRecord(); break; default: String msg = "Unknown identifier: " + identifier; throw new JournalException(msg); } identifier = record.readChar(); } }
258259260261262263264265
state.setStatus(ItemState.STATUS_EXISTING_MODIFIED); changes.modified(state); break; default: String msg = "Unknown item operation: " + operation; throw new JournalException(msg); } }
106107108109110111112113
*/ protected void readEndMarker() throws JournalException { char c = record.readChar(); if (c != END_MARKER) { String msg = "Expected end marker, found: " + c; throw new JournalException(msg); } }