ErrorEvent.java revision 2
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * ident "%Z%%M% %I% %E% SMI" 2N/A * Notification that DTrace has encountered an error. 2N/A * @see ConsumerListener#errorEncountered(ErrorEvent e) 2N/A * @author Tom Erickson 2N/A * Creates an {@link ConsumerListener#errorEncountered(ErrorEvent e) 2N/A * errorEncountered()} event that reports an error encountered in 2N/A * the native DTrace library during tracing. 2N/A * @param source the {@link Consumer} that is the source of this event 2N/A * @param dtraceError the error encountered by DTrace 2N/A * @throws NullPointerException if the given error is {@code null} 2N/A * Gets the error reported by DTrace. 2N/A * @return non-null error reported by DTrace 2N/A * Gets a string representation of this event useful for logging and 2N/A * not intended for display. The exact details of the 2N/A * representation are unspecified and subject to change, but the 2N/A * following format may be regarded as typical: 2N/A * class-name[property1 = value1, property2 = value2]